import common from './common'
import paths from './paths'

const sqlExecute = {};

(function (service) {
  service.executeSql = (sqlParam) => {
    return common.post(paths.sql.executeSql, null, sqlParam)
  }

  service.callProcedure = (sqlParam) => {
    return common.post(paths.sql.callProcedure, null, sqlParam)
  }
})(sqlExecute)

export default sqlExecute
